#define _SHAPEFILE_H_INCLUDED
/******************************************************************************
- * $Id: shapefil.h,v 1.1 2004-09-20 17:22:55 robertl Exp $
+ * $Id: shapefil.h,v 1.2 2004-09-27 01:13:58 robertl Exp $
*
* Project: Shapelib
* Purpose: Primary include file for Shapelib.
******************************************************************************
*
* $Log: not supported by cvs2svn $
+ * Revision 1.1 2004/09/20 17:22:55 robertl
+ * Bring in shapefil.h.
+ *
* Revision 1.26 2002/09/29 00:00:08 warmerda
* added FTLogical and logical attribute read/write calls
*
SHPObject SHPAPI_CALL1(*)
SHPCreateObject( int nSHPType, int nShapeId,
int nParts, int * panPartStart, int * panPartType,
- int nVertices, double * padfX, double * padfY,
- double * padfZ, double * padfM );
+ int nVertices, const double * padfX, const double * padfY,
+ const double * padfZ, const double * padfM );
SHPObject SHPAPI_CALL1(*)
SHPCreateSimpleObject( int nSHPType, int nVertices,
- double * padfX, double * padfY, double * padfZ );
+ const double * padfX, const double * padfY, const double * padfZ );
int SHPAPI_CALL
SHPRewindObject( SHPHandle hSHP, SHPObject * psObject );
/******************************************************************************
- * $Id: shpopen.c,v 1.1 2004-09-20 17:21:22 robertl Exp $
+ * $Id: shpopen.c,v 1.2 2004-09-27 01:13:58 robertl Exp $
*
* Project: Shapelib
* Purpose: Implementation of core Shapefile read/write functions.
******************************************************************************
*
* $Log: not supported by cvs2svn $
+ * Revision 1.1 2004/09/20 17:21:22 robertl
+ * Check in shapelib and experimental prototype of crude shapefile support.
+ *
* Revision 1.39 2002/08/26 06:46:56 warmerda
* avoid c++ comments
*
*/
static char rcsid[] =
- "$Id: shpopen.c,v 1.1 2004-09-20 17:21:22 robertl Exp $";
+ "$Id: shpopen.c,v 1.2 2004-09-27 01:13:58 robertl Exp $";
#include "shapefil.h"
SHPObject SHPAPI_CALL1(*)
SHPCreateObject( int nSHPType, int nShapeId, int nParts,
int * panPartStart, int * panPartType,
- int nVertices, double * padfX, double * padfY,
- double * padfZ, double * padfM )
+ int nVertices, const double * padfX, const double * padfY,
+ const double * padfZ, const double * padfM )
{
SHPObject *psObject;
SHPObject SHPAPI_CALL1(*)
SHPCreateSimpleObject( int nSHPType, int nVertices,
- double * padfX, double * padfY,
- double * padfZ )
+ const double * padfX, const double * padfY,
+ const double * padfZ )
{
return( SHPCreateObject( nSHPType, -1, 0, NULL, NULL,